package com.xiaow.service.impl;

import com.xiaow.entity.UserEntity;
import com.xiaow.mapper.UserMapper;
import com.xiaow.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;

public class UserServiceImpl implements UserService {
    @Autowired
    UserMapper userMapper;
    @Override
    public UserEntity findByUserName(String username) {
        return userMapper.findByUsername(username);
    }
}
